define(function (require, exports, module) {

    var mCard = require('andrew/card/index.js');


    var tb_list_tpl = ` <ul>
    <li v-for="(item, index) in data">
      <slot :row="item" :$index="index"></slot>
    </li>
  </ul>`;


    


    Vue.component('tb-list', {
        template: tb_list_tpl,
        props: {
            data: {
                type: Array,
                required: true
            }
        },
        data() {
            return {

            }
        }
    })




    new Vue({
        data: function () {
            return {
                data: [
                    {
                        name: 'kongzhi1',
                        age: '29',
                        sex: 'man'
                    },
                    {
                        name: 'kongzhi2',
                        age: '30',
                        sex: 'woman'
                    }
                ]
            }
        }
    }).$mount('#app')




});